#include "Tree.h"
#include "LABEL.h"

const char* Tree::TREE_MODEL_PATH = "media/models/trees/trunk.md2";

Tree::Tree(int x, int y, int z)
{
    init();
    label(LABEL::STATIC);
    position(x,y,z);
    staticBody();
}

Tree::Tree(Array posicao)
{
    init();
    label(LABEL::STATIC);
    position(posicao);
    staticBody();
}

void Tree::init()
{
    load(Tree::TREE_MODEL_PATH);
    changeBoundingVolume(Solid::OBOX);
}
